﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.IRepository.SystemManager;
using SystemCenterSoa.PoModel.SystemManager;

namespace SystemCenterSoa.Service.SystemManager
{
    public class ArchitecturalTitleService
    {
        private IArchitecturalTitleRepository _architecturalTitleRepository;
        public ArchitecturalTitleService(IArchitecturalTitleRepository architecturalTitleRepository)
        {
            _architecturalTitleRepository = architecturalTitleRepository;
        }
        /// <summary>
        /// 分页条件查询
        /// </summary>
        /// <param name="atleName"></param>
        /// <returns></returns>
        public List<ArchitecturalTitlePo> GetArchitecturalTitleList(string atleName)
        {
            return _architecturalTitleRepository.GetArchitecturalTitleList(atleName);
        }
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="ArchitecturalTitle"></param>
        /// <returns></returns>
        public bool GetArchitecturalTitleAdd(ArchitecturalTitlePo ArchitecturalTitle)
        {
            return _architecturalTitleRepository.GetArchitecturalTitleAdd(ArchitecturalTitle);
        }
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        public bool GetArchitecturalTitleDel(string ids)
        {
            return _architecturalTitleRepository.GetArchitecturalTitleDel(ids);
        }
        /// <summary>
        /// 反填
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ArchitecturalTitlePo GetArchitecturalTitleFan(int id)
        {
            return _architecturalTitleRepository.GetArchitecturalTitleFan(id);
        }
        /// <summary>
        /// 编辑
        /// </summary>
        /// <param name="ArchitecturalTitle"></param>
        /// <returns></returns>
        public bool GetArchitecturalTitleUpdate(ArchitecturalTitlePo ArchitecturalTitle)
        {
            return _architecturalTitleRepository.GetArchitecturalTitleUpdate(ArchitecturalTitle);
        }
    }
}
